<template>
  <div>
     <Nz @xiaoming="demo"/>
  </div>
</template>

<script>
// import EventBus from '@/eventbus/index.js'
import Nz from '@/views/demo.vue'
export default {
  components:{
      Nz
  }
  ,
  methods: {
      demo(val){
          console.log(val);
      }
  },
// mounted() {
//     EventBus.$on("Zia",(val)=>{
//         console.log(val);
//     })
// },
}
</script>

<style>

</style>